package com.bayern.muchen.blog.constant;

/**
 * @author QIUYANG
 * @title: ParamEnum
 * @description: 参数相关
 * @date 2021/11/3015:05
 */
public enum ParamEnum {
    VALID_EXCEPTION(10001, "参数校验失败"),
    SOME_EXCEPTION(100, "系统错误");
    private int code;
    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    ParamEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
